package mark.tom.friend.bean.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

@Entity
public class AppInfoDO {

    @Id
    private Long id;
    // 应用名
    private String appName;
    // 版本号
    private String versionName;
    // 包名
    private String packageName;
    // md5指纹
    private String md5Fingerprint;
    // SHA1指纹
    private String sha1Fingerprint;

    @Generated(hash = 1184640881)
    public AppInfoDO(Long id, String appName, String versionName, String packageName,
            String md5Fingerprint, String sha1Fingerprint) {
        this.id = id;
        this.appName = appName;
        this.versionName = versionName;
        this.packageName = packageName;
        this.md5Fingerprint = md5Fingerprint;
        this.sha1Fingerprint = sha1Fingerprint;
    }

    @Generated(hash = 681941392)
    public AppInfoDO() {
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMd5Fingerprint() {
        return this.md5Fingerprint;
    }

    public void setMd5Fingerprint(String md5Fingerprint) {
        this.md5Fingerprint = md5Fingerprint;
    }

    public String getSha1Fingerprint() {
        return this.sha1Fingerprint;
    }

    public void setSha1Fingerprint(String sha1Fingerprint) {
        this.sha1Fingerprint = sha1Fingerprint;
    }
}
